package cn.dada.dadarecipes.community.comment.service;

import cn.dada.dadarecipes.community.comment.pojo.dto.CommentSaveParam;
import cn.dada.dadarecipes.community.comment.pojo.entity.Comment;
import cn.dada.dadarecipes.community.comment.pojo.vo.CommentVO;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface CommentService {
    List<CommentVO> selectComment(Long articleId);

    void saveComment(CommentSaveParam commentParam, HttpSession session);

    void deleteComment(Long commentId, HttpSession session);
}
